// Validate ADD form - pokes
var v = new Validator('pokes-add-form'); v.EnableMsgsTogether();

v.addValidation('pokes[poker_username]', 'required', 'Poker User Name - please enter data');
v.addValidation('pokes[poker_username]', 'email', 'Poker User Name - better to have your email address here');
v.addValidation('pokes[http_host]', 'required', 'Http Host - please enter data');
v.addValidation('pokes[browser_isp]', 'required', 'Browser ISP - please enter data');
v.addValidation('pokes[browser_language]', 'required', 'Browser Language - please enter data');
v.addValidation('pokes[browser_encoding]', 'required', 'Browser Encoding - please enter data');
v.addValidation('pokes[browser_accept]', 'required', 'Browser Accept - please enter data');
v.addValidation('pokes[browser_browser]', 'required', 'Browser Browser - please enter data');
v.addValidation('pokes[browser_profile]', 'required', 'Browser Profile - please enter data');
v.addValidation('pokes[profile_wap]', 'required', 'Profile Wap - please enter data');
v.addValidation('pokes[browser_referer]', 'required', 'Browser Referer - please enter data');
v.addValidation('pokes[browser_querystring]', 'required', 'Browser Querystring - please enter data');

/**
* Extra validations - like Agreement
*/
function agreement()
{
	var success = false;
		// checked
		success = true;

	return(success);
}
//v.setAddnlValidationFunction(agreement);

// If jQuery validator is used
// $(document).ready(function(){ $("#pokes-add-form").validate(); });